package com.wesley.builder;

/**
 * <h1>类描述</h1>
 *
 * @author wei.xin
 * @Date 2020/7/10
 */
public class MealBuilder {


    public Meal prepareVegMeal() {
        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }

    public Meal prepareChickenMeal(){
        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }





}
